    {%extends "baselist.html"%}
    {%block title%}<title>文章列表</title>{%endblock%}


    {%block style%}
    <style>
        .header{
            background-color: black;

        }

        body{
            background-image: url({{url_for("static",filename="img/62.jpg")}});
        }
        .card{
            background-color:rgb(39, 43, 43);
            padding-top: 100px;
            padding-bottom: 100px;
        }
    </style>
    {%endblock%}


    {%block header%}
        <h1 style="color: aliceblue;">文章列表</h1>
    {%endblock%}
    {%block leftside%}{%endblock%}

    {%block cardmid1%}
        <p style="text-align: center;"><a href={{url_for("article.postarticle",foid=foid)}}>发布新文章</a></p>
    {%endblock%}
    {%block cardmid2%}
            <p>
            <ul>
            {%for aim in aims%}
            <li>
                <a href={{url_for("article.viewarticle",aid=aim.a_id)}}>{{aim.a_title}}</a>
            </li>
            {%endfor%}
            </ul>
            </p>
    {%endblock%}

    {%block footer%}
        <a href={{url_for("root.index")}}> <p style="text-align: center;">返回目录</p></a>
        <form method="get">

            &emsp;
            <input type="submit" value="跳转到"><input type="text" name="page" style="width: 50px;">
            &emsp;

        </form>
    {%endblock%}